﻿@{
    ViewBag.Title = "LoadExcel";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section header{
    <script type="text/javascript">
        var messageBox = null;      //消息框
        $(function () {
            //初始化消息框
            messageBox = new MessageBox({ imghref: "/Content/images/" });
        });
        //提交表单完成后执行方法
        function addBegin() {
            messageBox.showMsgWait('正在导入，请稍候...');
        }
    </script>
}
@using (Html.BeginForm("LoadExcelConfrim", "ScoreLine", FormMethod.Post, new { id = "frmAdd", enctype = "multipart/form-data" }))
{
    <table style="width: 100%; height: 90%; margin: 25px auto; padding: 10px;">
        <tr>
            <td></td>
            <td>请选择文件：</td>
        </tr>
        <tr>
            <td>
                <p style="height: 20px;"></p>
            </td>
            <td>
                <input type="file" name="Excel" value="" /></td>
        </tr>
        <tr>
            <td></td>
            <td>
                <input type="submit" value="导入" style="width: 80px; height: 40px;" onclick="addBegin();"/></td>
        </tr>
    </table>
}